﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.Main
{

	/// <summary>
	/// 用户角色表
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_userRole", DisableSyncStructure = true)]
	public partial class TUserRole {

		/// <summary>
		/// 主键唯一标识Id
		/// </summary>
		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		/// <summary>
		/// 数据录入时间
		/// </summary>
		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 角色说明
		/// </summary>
		[JsonProperty, Column(Name = "roleDescription", StringLength = -2)]
		public string RoleDescription { get; set; }

		/// <summary>
		/// 角色名称
		/// </summary>
		[JsonProperty, Column(Name = "roleName", StringLength = -2)]
		public string RoleName { get; set; }

	}

}
